<include file="public/header"/>
<div class="am-cf admin-main">
    <include file="public/sidebar"/>
    <!-- content start -->
    <div class="admin-content">
        <div class="am-cf am-padding">
            <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">编辑配置</strong>
            </div>
        </div>
        <div class="am-tabs am-margin" data-am-tabs>
            <!--头部选择项-->
            <ul class="am-tabs-nav am-nav am-nav-tabs">
                <li class="am-active"><a href="#tab1">编辑配置</a></li>
            </ul>
            <div class="am-tabs-bd">
                <div class="am-tab-panel am-fade am-in am-active" id="tab1">
                    <form class="am-form" enctype="multipart/form-data" name="form2" id="form2" action="__URL__/editLink" method="post">
                        <div class="am-g am-margin-top">
                            <div class="am-u-sm-2 am-text-right">
                                图片
                            </div>
                            <div class="am-u-sm-4 am-u-end">
                                <input type="file" class="am-input-sm" id="pic" name="pic"/>
                                <p class="am-form-help">请选择要上传的图片...</p>
                            </div>
                        </div>
                        <div class="am-g am-margin-top">
                            <div class="am-u-sm-2 am-text-right">
                                链接
                            </div>
                            <div class="am-u-sm-4 am-u-end">
                                <input type="text" class="am-input-sm" id="link" name="link" value="{$da.link}">
                            </div>
                        </div>
                        <div class="am-g am-margin-top">
                            <div class="am-u-sm-2 am-text-right">
                                文字
                            </div>
                            <div class="am-u-sm-4 am-u-end">
                                <input type="text" class="am-input-sm" id="word" name="word" value="{$da.word}">
                            </div>
                        </div>

                        <input type="hidden" id="type" name="type" value="{$da.type}">
                        <input type="hidden"  name="id" value="{$da.id}">
                        <div class="am-g am-margin">
                            <input type="submit" id="add" value="提交" class="am-btn am-btn-primary am-btn-sm am-fl">
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- content end -->

</div>
<script src="__PUBLIC__/assets/js/jquery.min.js"></script>
<script>



</script>
<include file="public/footer"/>
